﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Telnet
{
    /// <summary>
    /// telnet用户信息
    /// </summary>
    public class TelnetUserInfo
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; private set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; private set; }



        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <param name="password">密码</param>
        public TelnetUserInfo(string userName,string password)
        {
            this.UserName= userName;    
            this.Password= password;
        }
    }
}
